package com.qys.livesMall.kafka.entity;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;


@Document(collection = "sequence")
@Data
public class SeqInfo {

    @Id
    private String id;

    @Field
    private String collectionName;

    @Field
    private Long seqId;
}
